<?php

defined('MOODLE_INTERNAL') || die;

if ($ADMIN->fulltree) {
    $settings->add(new admin_setting_configcheckbox('block_cleanup_is_cron', get_string('switch_on_cron', 'block_cleanup'),
                       get_string('switch_on_cron_text', 'block_cleanup'), 0));
}